package com.itheima.domain;


import java.math.BigDecimal;
import java.util.Date;

/**
 * @author wuyiqiang
 * @2022/6/18 11:49
 */
public class ShoppingCart {
    private  String id;
    private String name;
    private String userId;
    private String dishId;
    private String setmealId;
    private String dishFlavor;
    private Integer number;
    private BigDecimal amount;
    private String image;
    private Date createTime;

    public ShoppingCart() {
    }

    public ShoppingCart(String id, String name, String userId, String dishId, String setmealId, String dishFlavor, Integer number, BigDecimal amount, String image, Date createTime) {
        this.id = id;
        this.name = name;
        this.userId = userId;
        this.dishId = dishId;
        this.setmealId = setmealId;
        this.dishFlavor = dishFlavor;
        this.number = number;
        this.amount = amount;
        this.image = image;
        this.createTime = createTime;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getDishId() {
        return dishId;
    }

    public void setDishId(String dishId) {
        this.dishId = dishId;
    }

    public String getSetmealId() {
        return setmealId;
    }

    public void setSetmealId(String setmealId) {
        this.setmealId = setmealId;
    }

    public String getDishFlavor() {
        return dishFlavor;
    }

    public void setDishFlavor(String dishFlavor) {
        this.dishFlavor = dishFlavor;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ShoppingCart{" +
                "id='" + id + '\'' +
                ", name='" + name + '\'' +
                ", userId='" + userId + '\'' +
                ", dishId='" + dishId + '\'' +
                ", setmealId='" + setmealId + '\'' +
                ", dishFlavor='" + dishFlavor + '\'' +
                ", number=" + number +
                ", amount=" + amount +
                ", image='" + image + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
